<template>
  <div>
    <el-col v-for="item in dataModel" :key="item.title">
      <p class="table-show-title">{{ item.title }}</p>
      <el-col :span="14">
        <el-col
          v-for="e in item.content"
          :key="e.name"
          :span="e.span || 12"
          class="text"
        >
          <span class="label">{{ e.label }}:</span>
          <span class="value">{{ e.value }}</span>
        </el-col>
      </el-col>
      <span></span>
    </el-col>
  </div>
</template>
<script>
export default {
  props: ["dataModel"],
  data() {
    return {};
  },
};
</script>
<style lang="scss">
.table-show-title {
  padding: 0 0 10px 0;
  border-bottom: 1px solid #e9e9e9;
}
.text {
  margin: 20px 0;
  color: #999;
}
</style>